A Hybrid Model of Particle Swarm and Ant Colony Optimization Algorithm for Test Case Optimization
نویسندگان
چکیده
Regression testing is the process of validating modifications introduced in a system during software maintenance. It is done to check that a system update does not introduce errors that have been corrected or the change in one part of the program does not affect the other modules of that program. As the test suite is very large, system retesting consumes large amount of time and computing resources. In that scenario we use test case prioritization. In this approach the testers sort out the test cases such that those with higher priorities are run earlier than those with lower priorities. The purpose of this prioritization is to increase the likelihood that if the test cases are used for regression testing in the given order, they will more closely meet some objectives than they would if they were executed in some other order. In this paper a hybrid approach has been proposed that is divided into four phases. The first being clustering based on requirement prioritization, second being IntraCluster Prioritization, next being Test Case Selection and Inter-Cluster Prioritization. In the second phase i.e. Intra-Cluster Prioritization PSACO (PSO+ACO) algorithm has been used. The reason for combining PSO (Particle Swarm Optimization) with ACO (Ant Colony Optimization) is the guaranteed convergence of ACO. Also properties of low constraint on the continuity of objective function and ability of adapting to the dynamic environment make PSO one of the most important swarm intelligence algorithms. Due to these properties the proposed approach combines the strengths of PSO and ACO to give an optimized test suite.
منابع مشابه
New Ant Colony Algorithm Method based on Mutation for FPGA Placement Problem
Many real world problems can be modelled as an optimization problem. Evolutionary algorithms are used to solve these problems. Ant colony algorithm is a class of evolutionary algorithms that have been inspired of some specific ants looking for food in the nature. These ants leave trail pheromone on the ground to mark good ways that can be followed by other members of the group. Ant colony optim...
متن کاملA Hybrid Model of Particle Swarm Optimization (PSO) and Artificial Bee Colony (ABC) Algorithm for Test Case Optimization
In this paper a hybrid model called Particle Swarm Artificial Bee Colony algorithm (PSABC) has been proposed. The PSABC algorithm is a combination of Particle Swarm Optimization (PSO) and Artificial Bee Colony (ABC) Algorithm. PSABC has been used in this context to optimize the fitness value of a population in ABC algorithm using Particle Swarm Optimization. PSABC could be used to optimize the ...
متن کاملA HYBRID SUPPORT VECTOR REGRESSION WITH ANT COLONY OPTIMIZATION ALGORITHM IN ESTIMATION OF SAFETY FACTOR FOR CIRCULAR FAILURE SLOPE
Slope stability is one of the most complex and essential issues for civil and geotechnical engineers, mainly due to life and high economical losses resulting from these failures. In this paper, a new approach is presented for estimating the Safety Factor (SF) for circular failure slope using hybrid support vector regression (SVR) and Ant Colony Optimization (ACO). The ACO is combined with the S...
متن کاملEnhanced Ant Colony Algorithm Hybrid with Particle Swarm Optimization for Grid Scheduling
This chapter proposes new heuristic algorithms to solve grid scheduling problem. Two heuristic algorithms, based on Ant Colony Optimization and Particle Swarm Optimization are proposed. The optimization criteria, namely, flowtime and makespan are used to measure the quality of grid scheduling algorithm. Using the simulated benchmark instances, the results of different algorithms are analyzed an...
متن کاملA Hybrid Particle Swarm and Ant Colony Optimization for Design of Truss Structures
This paper presents a particle swarm ant colony optimization for design of truss structures. The algorithm is based on the particle swarm optimizer with passive congregation and ant colony optimization. The particle swarm ant colony optimization applies the particle swarm optimizer with passive congregation for global optimization and ant colony approach is employed to update positions of parti...
متن کامل